#define _CRT_SECURE_NO_WARNINGS 1
#include "twj.h"
int main()
{
	stack stack;
	stack.Push(1);
	stack.Push(2);
	stack.Push(3);
	stack.Push(4);
	stack.Push(5);
	stack.Push(6);
	cout << stack.Top() << "->";
	stack.Pop();
	cout << stack.Top() << "->";
	stack.Pop();
	cout << stack.Top() << "->";
	stack.Pop();
	cout << stack.Top() << "->";
	stack.Pop();
	cout << stack.Top() << endl;
	stack.Pop();
	cout << stack.Size() << endl;
	cout << stack.Empty() << endl;
}